/*******************************************************************************
 * Copyright (c) 2008 CEA LIST.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA LIST - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.diagram.deployment.tabbedproperties.filters;

import org.eclipse.uml2.uml.DeploymentSpecification;

import com.cea.papyrus.core.tabbedproperties.UMLElementFilter;

/**
 * Filter for {@link DeploymentSpecification} elements.
 */
public class DeploymentSpecificationFilter extends UMLElementFilter{

	/**
	 * {@inheritDoc}
	 */
	@Override
	public boolean select(Object object) {    	
		if (super.select(object) && element instanceof DeploymentSpecification) {
			return true;
		}
		return false;
	}
}
